package com.jiangyao.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "当前点击的课件")
public class CoursewareDTO implements BaseDTO{

    @ApiModelProperty("学期课程id")
    @NotNull(message = "学期课程id不能为空",groups = {Detail.class})
    private Integer clsubId;

    @ApiModelProperty("课程课件唯一键")
    @NotNull(message = "课程课件id不能为空",groups = {Detail.class})
    private Integer chcoId;

    @ApiModelProperty(value = "登录用户id", hidden = true)
    private Integer userId;
}
